//
//  AboutMeViewController.m
//  BasketballClub
//
//  Created by 孙鸿吉 on 16/1/18.
//  Copyright © 2016年 孙鸿吉. All rights reserved.
//

#import "AboutMeViewController.h"
#import "AboutMeView.h"
@interface AboutMeViewController ()
@property (nonatomic,strong)AboutMeView *aboutMeView;
@end

@implementation AboutMeViewController
- (void)loadView
{
    self.aboutMeView = [[AboutMeView alloc]initWithFrame:[UIScreen mainScreen].bounds];
    self.view = self.aboutMeView;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.aboutMeView.backgroundColor = ColorHex(0x0d1c38);
    //返回按钮
    [self.aboutMeView.cancleButton addTarget:self action:@selector(returnBeforeAction) forControlEvents:UIControlEventTouchUpInside];
}
#pragma mark - 取消按钮方法
- (void)returnBeforeAction
{
    [self dismissViewControllerAnimated:YES completion:nil];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
